package com.iraeta.service.basic.impl;

import com.iraeta.dao.main.basic.OadanganrenyuanDao;
import com.iraeta.entity.main.Oadanganrenyuan;
import com.iraeta.service.basic.DataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DataServiceImpl implements DataService {
    @Resource
    OadanganrenyuanDao oadanganrenyuanDao;

    @Override
    public List<Oadanganrenyuan> listOadanganrenyuan(String idCard, String name) {
        return oadanganrenyuanDao.selectByCondition(idCard, name);
    }
}
